const getStorage=(key:string)=>{
	const state=uni.getStorageSync(key)
	console.log('get');
	return state ? JSON.parse((state)) : ''
}
const setStorage=(key:string,val:any)=>{
	const state=JSON.stringify((val))
	console.log('set');
	uni.setStorageSync(key,state)
}
export {
	getStorage,
	setStorage
}